package com.rtline.business.ratelimit;

/**
 * <p>RateLimitStrategy .
 *
 * <p>change history:
 *
 * <pre>
 * date         defect       person          comments
 * --------------------------------------------------------------------------------
 * 2025/6/5    ********     Tao Ren    create file.
 * </pre>
 *
 * @author Tao Ren
 * @date 2025/6/5 19:14
 */
public interface RateLimitStrategy {
    boolean isAllowed(String resource, int limit, long period);
}
